home *** CD-ROM | disk | FTP | other *** search
/ El Mac 7 / El Mac 7.iso / De la revista / Ghostscript / Mac GS Viewer Manual / Mac GS Viewer Manual.rsrc / TEXT_133.txt < prev    next >
Encoding:
Text File  |  1994-05-11  |  1.8 KB  |  25 lines

  1.  
  2. Using Mac GS Viewer as a Web Helper Application
  3.  
  4. You can use Mac GS Viewer as a helper application for your web browser.  The following steps show how to configure the Netscape browser.  If you are using a different browser, the configuration will be similar:
  5.  
  6. [ 1 ] In the Preferences section called Helper Applications, check to see if there is a Mime type application/postscript.  If there isn't, then click New... and create one:  In the dialog that appears, set the type to application, and the subtype to postscript, then click OK.
  7.  
  8. [ 2 ] Select the application/postscript Mime type by clicking on it.
  9.  
  10. [ 3 ] Set the extensions by typing ai,eps,ps into the Extensions field.
  11.  
  12. [ 4 ] Set the application by clicking the Browse... button.  In the dialog that appears, choose the Mac GS Viewer application and click OK.  Then choose the File type TEXT from the pop-up menu.
  13.  
  14. [ 5 ] Set the action to Launch Application.
  15.  
  16. [ 6 ] Click OK in the Preferences window to save the changes.
  17.  
  18. Some browsers, though not Netscape, may need to be restarted before the change will take effect.
  19.  
  20. IMPORTANT: Postscript includes operators for manipluating files.  A buggy or malicious postscript file could damage the files on your harddisk.  To minimize this risk, you should start Mac GS Viewer and set the command line in the Preferences to:
  21.     -dSAFER
  22.  
  23. This disable a number of file operations in Ghostscript.  Note that there are two problems with this: (a) This option does not claim to be fool proof - Postscript is very powerful and this option can't guard against all possible problems.  (b) You will be unable to render to any of the file devices when this is set.  However, you still be able to save what you render to the screen as PICT files.
  24.  
  25. To turn off this feature, you need to remove -dSAFER from the command line in the Preferences dialog, then quit and restart Mac GS Viewer.